package com.zuorenke.vertx.anno;

import io.vertx.core.http.HttpMethod;

import java.lang.annotation.*;

/**
 * Router API Mehtod 标识注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Route {

    String value() default "";

    /**** 使用http method *****/
    HttpMethod method() default HttpMethod.GET;

}
